package com.kaili.finance.bean;

import com.kaili.finance.tools.Tools;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class PageRequest {
    @ApiModelProperty(value = "当前页", required = true, example = "1")
    public Integer page;
    @ApiModelProperty(value = "页数量", required = true, example = "20")
    public Integer pageSize;
    @ApiModelProperty("类型")
    public String type;
    @ApiModelProperty(value = "查询参数")
    HashMap<String, Object> mapSearch;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public HashMap<String, Object> getMapSearch() {
        return mapSearch;
    }

    public void setMapSearch(HashMap<String, Object> mapSearch) {
        this.mapSearch = mapSearch;
    }
}
